<template>
  <ke-form v-bind="formConfig" :config="config" :addChooseBtn="addChooseBtn" :questionType="questionType">
   </ke-form>


</template>

<script>
import { formConfig } from './config'
import keForm  from '@/baseUi/form'
  export default {
    name: 'createSingleQuestion',
    components: {
      keForm
    },
    props: {
      config: {
        type: Array,
        default: () => []
      },
      addChooseBtn: {
       type: Boolean,
       default: true
      },
      questionType: {
       type: Number,
        required: true
      }
    },
    data () {
    return{
     formConfig: formConfig,
    }
    },
  }
</script>